QB045 130 DC Motor Module¶
1.Product Introduction
The 130 motor module is a common DC motor module that can convert electrical energy into mechanical energy to make your equipment move.
The 130 motor module controls the rotation direction and speed of the motor by controlling the input signal. There will be two control pins on the module, one for forward turn (IN+) and one for reverse control (IN-). By applying different level signals (high or low) to these pins, operations such as forward, backward, and stop can be achieved.
Application reference: small robot, intelligent car, fan and other projects.
2.Parameter Specification
Parameter | Value//Description |
---|---|
Operating voltage | 3.3V~5V |
Operating temperature | -10°C~+50°C |
Output current | 200mA |
Size | 4.72cm*2.38cm |
3.Wiring Diagram
![../../_images/130-2.png](../../_images/130-2.png)
130 DC Motor Module | UNO |
---|---|
VCC | 5V |
GND | GND |
NI+ | Digital Pin 5 |
NI- | Digital Pin 6 |
4.Sample Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | //www.acebott.com
void setup(){
pinMode(5, OUTPUT);//Set pin 5 to output mode
pinMode(6, OUTPUT);//Set pin 6 to output mode
}
void loop(){
digitalWrite(5,HIGH);
digitalWrite(6,LOW);//130 DC motor module is turning forward
delay(1000);
digitalWrite(5,LOW);
digitalWrite(6,LOW);//130 DC Motor Module stops
delay(1000);
digitalWrite(5,LOW);
digitalWrite(6,HIGH);//130 DC Motor Module reversal
delay(1000);
digitalWrite(5,LOW);
digitalWrite(6,LOW);//130 DC Motor Module stops
delay(1000);
}
|
5.Test Result
After the code is uploaded to the controller board, the 130 DC Motor Module will turn forward for 1 second, stop for 1 second, reverse for 1 second, stop for 1 second.
![../../_images/130-3.png](../../_images/130-3.png)
6.Related Resources
7.Get One Now
B2B Business: info@acebott.com